package com.ddtech.business.course.vo.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 保存课程学习记录
 */
@Data
public class CourseStudyReq {

    @NotBlank(message = "课程id不能为空")
    private String courseId;

    @NotNull(message = "学习时长不能为空")
    private Integer duration;
}
